const config = require('../config')
const mysql = require('mysql2')
let pool = mysql.createPool(config.mysql)
let sql = pool.promise()


module.exports  = sql